
#ifndef __LIBERTY_ENGINE_WIN32EXCEPTION_H__
#define __LIBERTY_ENGINE_WIN32EXCEPTION_H__

#include <Liberty3D/Liberty3D.h>

#if defined(WIN32) || defined(WIN64)
#include <Windows.h>
#include <stdexcept>

namespace Liberty { namespace Engine {
    class Win32Exception : public std::runtime_error {
    protected:
        DWORD _errorCode;

    public:
        Win32Exception(DWORD errorCode);
        Win32Exception(DWORD errorCode, UINT uID);
    };
}}

#endif
#endif
